<?php
/**
 * Created by PhpStorm.
 * User: yiyu
 * Email: smalleasyu@gmail.com
 * Date: 2020-01-28 22:03:58
 * Desc: 用户收货地址路由
 */

use think\Route;

Route::rule('/address/get_default_address', 'api/AddressController/getDefaultAddress'); // 获取默认地址

Route::rule('/address/set_default_address', 'api/AddressController/setDefaultAddress'); // 设置默认地址

Route::rule('/address/get_address_list', 'api/AddressController/getAddressList'); // 获取地址列表

Route::rule('/address/add_address', 'api/AddressController/addAddress'); // 新增地址

Route::rule('/address/update_address', 'api/AddressController/updateAddress'); // 修改地址

Route::rule('/address/del_address', 'api/AddressController/delAddress'); // 删除地址